import { useRouter } from 'next/navigation'

export default function BackToHome () {

    const router = useRouter()

    return (
        <div className="text-sm text-primary cursor-pointer" onClick={() => (router.push('/'))}>
            <span>
                检索首页
            </span>
        </div>
    )
}